﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WorkspaceDetail.ascx.cs" Inherits="SAS.WebSite.VisualControls.Forms.WorkspaceDetail" %>
<script type="text/javascript" src="/Scripts/Misc/subnavigation.js"></script>
<style>
    #previewLogoImage { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale); background-repeat:no-repeat}
</style>

<div id="activeWindowsModal" title="Active workspace" style="display: none">
    <table id="activateCloneSaveForm" style="display: none">
        <tr>
            <td colspan="2">Select the Environment you would like to active your workspace in</td>
        </tr>
        <tr>
            <td colspan="2"><select id="selectEnvironment2" style="width: 70%"/></td>
        </tr>
        <tr>
            <td colspan="2"><p>Active this Workspace will create default Admin user, a default set of user roles, and apply the default set of system preferences.</p></td>
        </tr>
        <tr>
            <td colspan="2"><p>As the result of activating this workspace, input and output communication from the Client workspace will be enabled.</p></td>
        </tr>
        <tr>
            <td colspan="2"><p>Since you are cloning an existing workspace you can select instead to clone some or all of the following items</p></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" id="user" name="user"/><label for="user">Users.</label></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" id="userRoles" name="userRoles"/><label for="userRoles">User Roles.</label></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" id="systemPreferences" name="systemPreferences"/><label for="systemPreferences">System Preferences</label></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" id="templates" name="templates"/><label for="templates">Templates.</label></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" id="logo" name="logo"/><label for="logo">Logo.</label></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" id="templateRate" name="templateRate"/><label for="templateRate">Template Rate.</label></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <div style="margin-top: 10px">
                    <button style="float: right" class="btnActiveCancel ui-button-corner-all">Cancel</button>   
                    <button style="float: right" class="btnActive ui-button-corner-all">Ok</button>
                </div>
            </td>
        </tr>
    </table>
    <table id="activeForm">
        <tr>
            <td colspan="2">Select the Environment you would like to active your workspace in</td>
        </tr>
        <tr>
            <td colspan="2"><select id="selectEnvironment" style="width: 60%"/></td>
        </tr>
        <tr>
            <td colspan="2">Active this Workspace will create default Admin user, a default set of user roles, and apply the default set of system preferences.</td>
        </tr>
        <tr>
            <td colspan="2">As the result of activating this workspace, input and output communication from the Client workspace will be enabled.</td>
        </tr>
        <tr>
            <td></td>
            <td>
                <div style="margin-top:10px">
                    <button  style="float: right" class="btnActiveCancel ui-button-corner-all">Cancel</button>   
                    <button  style="float: right" class="btnActive ui-button-corner-all">Ok</button>
                </div>
            </td>
        </tr>
    </table>
    <table style="display: none" id="sendEmailForm">
        <tr>
            <td colspan="2">Enter the email you would like to send the default username and password</td>
        </tr>
        <tr>
            <td colspan="2"><input id="txtSendingEmailAddress" class="required form_txt" jVal="{valid:/^([a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)*)$/, message:'Invalid'}"style="width: 70%"/></td>
        </tr>       
        <tr>
            <td></td>
            <td>
                <div style="margin-top: 10px">
                    <button id="btnSendEmail" style="float: right" class="ui-button-corner-all">Send</button>   
                </div>
            </td>
        </tr>
    </table>
</div>

<div id="panel_tabs" style="display:none;">      
    <div class="subnav_wrapper">
    <ul>
        <li><a id="subcustdetails" class="subnav_ref navon" href="#workspaceDetail-1"><span>Workspace details</span></a></li>
    </ul>
    </div>
    <div id="workspaceDetail-1" class="switchpanel">
        <div class="form_wrapper" id="workspace_detailform">
            <div style="text-align: center;" >
                <form id="workspaceDetailForm" method="POST" action="../../Service/Services.aspx">
                    <input type="reset" id="btnReset" style="display: none"/>
                    <input type="hidden" id="formSubmitType" name="formSubmitType" value="0"/>
                    <input type="hidden" id="wspId" name="wspIdId" value="0"/>
                    <input type="hidden" id="environment" name="environment" value=""/>
                    <input type="hidden" id="pkClientId" name="pkClientId" value="0"/>
                    <input type="hidden" id="activateCloneSaveInfo" name="activateCloneSaveInfo" value="0"/>
                    <table class="form_table">
                        <tr>
                            <td colspan="6">
                                <div class="button_wrapper">
                                    <button id="btn_workspace_add_top" class="detailadd ui-button-corner-all">Add</button>
                                    <button id="btn_workspace_save_top" class="detailsave ui-button-corner-all">Save</button>
                                    <button id="btn_workspace_activate_top" class="detailactivate ui-button-corner-all">Activate</button>
                                    <button id="btn_workspace_cancel_top" class="detailcancel ui-button-corner-all">Cancel</button>
                                </div>
                            </td>               
                        </tr>
                        <tr>
                            <td colspan="6">
                                <h2>Workspace Details</h2><input id="hidID" type="hidden" />
                                <div class="notifier_right">(<span class="req">*</span>) Required Field &nbsp;&nbsp;&nbsp; (<span style="color: blue; font-weight: bold;">*</span>) Required to activate</div>
                                <div class="line_horz"></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Workspace</td>                
                            <td class="req"><span class="req">*</span></td>                
                            <td class="value">
                                <input type="text" maxlength="50" class="required form_txt"  id="txtWorkSpaceName" name="txtWorkSpaceName" 
                                       jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}" tabindex="1"/>
                            </td>                
                            <td class="subtitle">Created</td>                
                            <td></td>
                            <td><span id="lbCreateDate"/></td> 
                        </tr>
                        <tr>
                            <td class="subtitle">Status</td>                
                            <td></td>                
                            <td style="padding-left: 17px"><span style="font-weight: bold" id="lblStatus"></span></td>                
                            <td class="subtitle">Created by</td>
                            <td></td>                
                            <td><span id="lbCreateBy"/></td>       
                        </tr>
                        <tr>
                            <td class="subtitle">Note</td>
                            <td class="req"></td>                
                            <td class="value" rowspan="3" valign="top"><textarea id="txtWorkSpaceNote" maxlength="255" name="txtWorkSpaceNote" class="form_txtarea3" cols="30" rows="10" style="resize: none"></textarea></td>                
                            <td class="subtitle">Last Modified</td>
                            <td></td>
                            <td><span id="lbLastModified"/></td>    
                        </tr>
                        <tr>
                            <td class="subtitle"></td>                
                            <td class="req"></td>                
                            <td class="subtitle">Last modified by</td>                
                            <td></td>
                            <td><span id="lbLastModifiedBy"/>
                        </tr>
                        <tr>
                            <td class="subtitle"></td>                
                            <td class="req"></td>                
                            <td class="subtitle">Admin Id</td>                
                            <td></td>                
                            <td><span id="lblDPMAdminId"/></td>             
                        </tr>
                        <tr>
                            <td class="subtitle"></td>                
                            <td class="req"></td>                
                            <td class=""></td>                
                            <td class="subtitle">Admin password</td>
                            <td></td> 
                            <td><span id="lblDPMAdminPassword"/></td>                
                        </tr>
                        <tr>
                            <td colspan="6">
                                <h2>Client Administration</h2>
                                <div class="line_horz"></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Client Name</td>                
                            <td class="req"><span class="req" id="Span1">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientName" class="required form_txt" id="txtClientName" tabindex="3"
                                       maxlength="50" jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}"/>
                            </td>                
                            <td class="subtitle">Client logo</td>
                            <td class="req"></td>
                            <td style="padding-left: 17px">
                                <div id="uploadify">
                                   <%-- <div id="btn_upload"  style="display: none">
                                        <span style="display: block; width: 100%;text-align: center; margin-top: 5px">Upload</span>
                                    </div>--%>
                                    <input id="clientFileUpload" name="clientFileUpload" type="file" accept="image/*"/>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Client ID</td>                
                            <td class="req"><span class="req" id="Span3">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientId" maxlength="8" class="form_text number" id="txtClientId" maxlength="7" tabindex="4"
                                jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}"/>
                            </td>   
                            <td></td>
                            <td></td>
                            <td rowspan="3" style="padding-left: 17px"><div id="previewLogoImage"  style=" background-image:url('../../Images/DefaultLogo/DefaultSASLogo.png'); width: 271px; height: 73px; margin: 10px 0px 20px 0px"/></td>
                        </tr>
                        <tr style="height: 10px"/>
                        <tr>
                            <td colspan="6">
                                <h2>Client Information</h2>
                                <div class="line_horz"></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Contact Name</td>                
                            <td class="req"><span style="color: red; font-weight: bold;">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientContactName" tabindex="5" class="required form_txt" id="txtClientContactName"
                                 maxlength="50" jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}"/>
                            </td>        
                        </tr>
                        <tr>
                            <td class="subtitle">Email</td>                
                            <td class="req"><span class="req">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientEmail" maxlength="60" tabindex="6" class="required form_txt" id="txtClientEmail" jVal="{valid:/^([a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)*)$/, message:'Invalid'}"/>
                            </td>                
                            <td class="subtitle">Website</td>   
                            <td class="req"><span style="color: blue; font-weight: bold;">*</span></td>             
                            <td class="value">
                                <input type="text" maxlength="60" name="txtClientWebsite" id="txtClientWebsite" class="form_txt" tabindex="13"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Address1</td>                
                            <td class="req"><span style="color: red; font-weight: bold;">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientAddress1" class="required form_txt" id="txtClientAddress1" tabindex="7" 
                                maxlength="30" jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}"/>
                            </td>                
                            <td class="subtitle">Telephone1</td>     
                            <td class="req"><span style="color: red; font-weight: bold;">*</span></td>
                            <td class="value">
                                <input type="text" style="width:300px" name="txtClientTelephone1" class="form_txt number" id="txtClientTelephone1" tabindex="14"
                                   maxlength="15" jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Address2</td>                
                            <td class="req"></td>                
                            <td class="value">
                                <input type="text" name="txtClientAddress2" id="txtClientAddress2" tabindex="8" class="form_txt"/>
                            </td>                
                            
                            <td class="subtitle">Telephone2</td>       
                            <td class="req"></td>         
                            <td class="value">
                                <input type="text" maxlength="15" tabindex="15" style="width:300px" name="txtClientTelephone2" id="txtClientTelephone2" class="form_txt number"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">City</td>                
                            <td class="req"><span style="color: blue; font-weight: bold;">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientCity" maxlength="30" class="form_txt" id="txtClientCity" tabindex="9"/>
                            </td>
                            <td class="subtitle">Fax</td>
                            <td class="req"></td>
                            <td class="value">
                                <input type="text" style="width:300px" tabindex="16" class="form_txt number" id="txtClientFax" name="txtClientFax"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">StateProv</td>                
                            <td class="req"><span style="color: blue; font-weight: bold;">*</span></td>                
                            <td class="value">
                                <input type="text" maxlength="20" name="txtClientStateProv" id="txtClientStateProv" class="form_txt" tabindex="10"/>
                            </td>
                            <td class="subtitle"></td>
                        </tr>
                        <tr>
                            <td class="subtitle">PostalCode</td>                
                            <td class="req"><span style="color: blue; font-weight: bold;">*</span></td>                
                            <td class="value">
                                <input type="text" maxlength="10" name="txtClientPostalCode" id="txtClientPostalCode" class="form_txt number" style="width:300px" maxlength="20" tabindex="11"/>
                            </td>
                            <td class="subtitle"></td>    
                        </tr>
                        <tr>
                            <td class="subtitle">Country</td>                
                            <td class="req"><span style="color: blue; font-weight: bold;">*</span></td>                
                            <td class="value">
                                <input type="text" name="txtClientCountry" maxlength="20"  class="form_txt" id="txtClientCountry" tabindex="12"/>
                            </td>                
                            <td class="subtitle"></td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <h2>Accepted Payments</h2>
                                <div class="line_horz"></div>
                            </td>
                        </tr>
                        <tr style="display: none">
                            <td class="subtitle">Web Payment</td>                
                            <td></td>                
                            <td class="value"><input type="checkbox" name="chkClientWebPayment" checked="checked" class="form_chk" id="chkClientWebPayment" tabindex="16"/></td>                
                            <td class="subtitle"></td>
                        </tr>        
                        <tr>
                            <td class="subtitle">ACH Payment</td>                
                            <td></td>                
                            <td class="value"><input type="checkbox" name="chkClientACHPayment" checked="checked" class="form_chk" id="chkClientACHPayment" tabindex="17"/></td>                
                            <td><div class="table_center"></div></td>
                        </tr>
                        <tr>
                            <td class="subtitle">Debit Payment</td>                
                            <td></td>                
                            <td class="value"><input type="checkbox" name="chkClientDebitPayment" checked="checked" class="form_chk" id="chkClientDebitPayment" tabindex="18"/></td>                
                            <td><div class="table_center"></div></td>
                        </tr>        
                        <tr>
                            <td class="subtitle">Credit Payment</td>                
                            <td></td>                
                            <td class="value"><input type="checkbox" name="chkClientCreditCardPayment" checked="checked" class="form_chk" id="chkClientCreditCardPayment" tabindex="19"/></td>                
                            <td><div class="table_center"></div></td>
                        </tr>
                        <tr>
                            <td class="subtitle top">Credit Cards</td>                
                            <td></td>                
                            <td colspan="4">
                                <table cellpadding="3px" cellspacing="0" border="0">
                                    <tr>
                                        <td><img src="/images/payment/Visa.png" style="width:50px" /></td>
                                        <td valign="center"><input type="checkbox" checked="checked" name="chkClientVisaCardPayment" class="form_chk" id="chkClientVisaCardPayment" tabindex="20"/></td>
                                        <td>&nbsp;&nbsp;</td>
                                        <td><img src="/images/payment/Mastercard.png" style="width:50px" /></td>
                                        <td valign="center"><input type="checkbox" checked="checked" name="chkClientMasterCardPayment" class="form_chk" id="chkClientMasterCardPayment" tabindex="21"/></td>
                                        <td>&nbsp;&nbsp;</td>
                                        <td><img src="/images/payment/American-Express.png" style="width:50px" /></td>
                                        <td valign="center"><input type="checkbox" checked="checked" name="chkClientAmericanExpressCardPayment" class="form_chk" id="chkClientAmericanExpressCardPayment" tabindex="22"/></td>
                                        <td>&nbsp;&nbsp;</td>
                                        <td><img src="/images/payment/Discover-Network.png" style="width:50px"/></td>
                                        <td valign="center"><input type="checkbox" checked="checked" name="chkClientDiscoverNetworkCardPayment" class="form_chk" id="chkClientDiscoverNetworkCardPayment" tabindex="23"/></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <h2>Connection Information</h2>
                                <div class="line_horz"></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Striata zone name</td>                
                            <td class="req"><span class="req">*</span></td>                           
                            <td class="value">
                                <input type="text" maxlength="15" name="txtClientShortName" class="required form_txt" id="txtClientShortName" tabindex="24"
                                    jVal="{valid:function (val) { if (jQuery.trim(val).length < 1) return 'missing'; else return ''; }}"/>
                            </td>                
                        </tr>
                        <tr>
                            <td class="subtitle">Striata description</td>                
                            <td></td>                
                            <td class="value">
                                <input type="text" maxlength="50" name="txtStriataDescription" class="form_txt" id="txtStriataDescription" tabindex="25"/>
                            </td>                
                            <td class="subtitle">FedPay description</td>   
                            <td></td>             
                            <td class="value">
                                <input type="text" maxlength="50" name="txtFedPayDescription" class="form_txt" id="txtFedPayDescription" tabindex="29"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Striata server</td>                
                            <td></td>                
                            <td class="value">
                                <input type="text" maxlength="50" name="txtStriataAddress" class="form_txt" id="txtStriataAddress" tabindex="26"/>
                            </td>                
                            <td class="subtitle">FedPay server</td>   
                            <td></td>             
                            <td class="value">
                                <input type="text" maxlength="50" name="txtFedPayAddress" class="form_txt" id="txtFedPayAddress" tabindex="30"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Striata user name</td>                
                            <td class="req"></td>                
                            <td class="value">
                                <input type="text" maxlength="50" name="txtStriataUsername" class="form_txt" id="txtStriataUsername" tabindex="27"/>
                            </td>                
                            <td class="subtitle">FedPay user name</td>                
                            <td class="req"></td>
                            <td class="value">
                                <input type="text"maxlength="50" name="txtFedPayUsername" class="form_txt" id="txtFedPayUsername" tabindex="31"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="subtitle">Striata password</td>                
                            <td></td>                
                            <td class="value">
                                <input type="text" maxlength="50" name="txtStriataPassword" class="form_txt" id="txtStriataPassword" tabindex="28"/>
                            </td>                
                            <td class="subtitle">FedPay password</td>
                            <td></td>
                            <td class="value">
                                <input type="text" maxlength="50" name="txtFedPayPassword" class="form_txt" id="txtFedPayPassword" tabindex="32"/>
                            </td>                
                            <td></td>                
                        </tr>
                        <tr>
                            <td colspan="6">
                                <h2>System Preferences</h2>
                                <div class="line_horz"></div>
                            </td>
                        </tr>
                        <tr>    
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Allow automatic Opt-in update from Subscribe reports</h2><p>This function automatically sets customer status to 'Opt-in' once the customer has responded positively (Yes) to an Opt-in email campaign.</p><p>This change in status automatically switches the customer from receiving documents via paper mailing to receiving documents via email.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Allow automatic Opt-in update from Subscribe reports Y/N<br />(default Y)</td>         
                            <td colspan="4">
                                <ul class="value_1x4">
                                    <li class="value dark"><label for="autooptin_Yes"><input type="radio" name="radioAutoOptin" id="autooptin_Yes" tabindex="33" class="rdosyspref" value="Yes" checked="checked" />&nbsp;Yes</label></li>
                                    <li class="value dark" style="margin-left: 10px"><label for="autooptin_No"><input type="radio" name="radioAutoOptin" id="autooptin_No" tabindex="34" class="rdosyspref" value="No" />&nbsp;No</label></li>
                                </ul></td>
                            <td></td>
                        </tr>
                        <tr>
                            <td colspan="6" class="form_hr"><div class="line_horz_light"></div></td>
                        </tr>
                        <tr>
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Allow automatic Opt-out update from Unsubscribe reports</h2><p>This function automatically sets customer status to 'Opt-Out' once they have responded negatively  (No) to an Opt-in email campaign or when, at anytime, they decide to 'unsubscribe' from electronic document delivery by clicking the unsubscribe link at the bottom of any of the emails they receive.</p><p>This change in status automatically switches the customer from receiving documents via email back to receiving paper mailing.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Allow automatic Opt-out update from Unsubscribe reports Y/N<br />(default Y)</td> 
                            <td colspan="3">
                                <ul class="value_1x4">
                                    <li class="value dark"><label for="autooptout_Yes"><input type="radio" name="radioAutoOptout" id="autooptout_Yes" tabindex="35" class="rdosyspref" value="Yes" checked="checked" />&nbsp;Yes</label></li>
                                    <li class="value dark" style="margin-left: 10px"><label for="autooptout_No"><input type="radio" name="radioAutoOptout" id="autooptout_No" tabindex="36" class="rdosyspref" value="No" />&nbsp;No</label></li>
                                </ul></td>       
                        </tr>
                        <tr>
                            <td colspan="6" class="form_hr"><div class="line_horz_light"></div></td>
                        </tr>
                        <tr>
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Allow PrintMachine to Update Customers</h2><p>This function allows PrintMachine Output Management software to automatically update the customer database from details available in processed documents, such as address, telephone, name,…. This is useful if Document data always reflects the latest information about customers. If turned off, any modification to the customer database must be done via the User Interface or an Import from your Customer reference system of choice.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Allow PrintMachine to UPDATE Customer Y/N<br />(default Y)</td>       
                            <td colspan="3">
                                <ul class="value_1x4">
                                    <li class="value dark"><label for="printmachadd_Yes"><input type="radio" name="radioPrintmachadd" id="printmachadd_Yes" tabindex="37" class="rdosyspref" value="Yes" checked="checked" />&nbsp;Yes</label></li>
                                    <li class="value dark" style="margin-left: 10px"><label for="printmachadd_No"><input type="radio" name="radioPrintmachadd" id="printmachadd_No" tabindex="38" class="rdosyspref" value="No" />&nbsp;No</label></li>
                                </ul></td>           
                        </tr>
                        <tr>
                            <td colspan="6" class="form_hr"><div class="line_horz_light"></div></td>
                        </tr>
                        <tr>
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Enable PrintMachine to Automatically send Intro Opt-in email to Customers</h2><p>This function allows PrintMachine Output Management software to automatically include customers in an Introduction opt-in email campaign if the customer has not yet been contacted via an Introduction campaign, or has not responded to one in a set period of time.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Enable PrintMachine to Automatically send Intro Opt-in email to<br />Customers (default Y)</td>
                            <td colspan="3">
                                <ul class="value_1x4">
                                    <li class="value dark"><label for="printmachoptin_Yes"><input type="radio" name="radioPrintachOptin" id="radioPrintachOptin_Yes" tabindex="39" class="rdosyspref" value="Yes" checked="checked" />&nbsp;Yes</label></li>
                                    <li class="value dark" style="margin-left: 10px"><label for="printmachoptin_No"><input type="radio" name="radioPrintachOptin" id="radioPrintachOptin_No" tabindex="40" class="rdosyspref" value="No" />&nbsp;No</label></li>
                                </ul></td>    
                        </tr>
                          <tr>
                            <td colspan="6" class="form_hr"><div class="line_horz_light"></div></td>
                        </tr>
                        <tr>
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Frequency of INTRO OPT-IN emails in days</h2><p>This sets the minimum number of days before a new Introduction Opt-in email can be sent to a particular customer. This is useful for repeating an Introduction campaign to gain adoption and interest without flooding customers with emails.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Frequency of INTRO OPT-IN emails in days</td>
                            <td class="value" colspan="2">
                                <input name="radioOptindays" id="optindays" type="text" class="form_text number" maxlength="3" value="0" tabindex="41"/>
                            </td>                
                        </tr>
                        <tr>
                            <td colspan="6" class="form_hr"><div class="line_horz_light"></div></td>
                        </tr>
                        <tr>
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Use Client Default Information from PrintMachine</h2><p>This function allows to use information available to PrintMachine to override the default  Client contact information block on emails. If disable the information used in email contact blocks is the one stored in the Client database.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Use Client Default Information from PrintMachine Y/N<br />(default N)</td>
                            <td colspan="3">
                                <ul class="value_1x4">
                                    <li class="value dark"><label for="defaultpm_Yes"><input type="radio" name="radioDefaultpm" id="defaultpm_Yes" tabindex="42" class="rdosyspref" value="Yes" checked="checked" />&nbsp;Yes</label></li>
                                    <li class="value dark" style="margin-left: 10px"><label for="defaultpm_No"><input type="radio" name="radioDefaultpm" id="defaultpm_No" tabindex="43" class="rdosyspref" value="No" />&nbsp;No</label></li>
                                </ul></td>           
                        </tr>
                        <tr>
                            <td colspan="6" class="form_hr"><div class="line_horz_light"></div></td>
                        </tr>
                        <tr>
                            <td><div class="helpIconWrapper"><img src="/images/info26_tall.png"  border="0" class="helpIcon" msg="<h2>Use Accepted Payments settings from Clients rather than from Customers</h2><p>This Preference allows the system to select the appropriate set of payment preferences to display on ePayment forms within PDF billing documents. <br />This setting provides the flexibility to display one set of payment methods defined globally for all customers or a set of payment methods specific to the customer receiving the email. <br /><br />If this preference is set to Yes, the set of payment methods used is the one defined at the Client level.<br /><br />If this preference is set to No, the set of payment methods used is the one defined at the customer level.</p>"/></div></td>                
                            <td class="longtitle" colspan="2">Use Accepted Payments settings from Clients rather than from<br />Customers (default Y)</td>
                            <td colspan="3">
                                <ul class="value_1x4">
                                    <li class="value dark"><label for="accpayset_Yes"><input type="radio" name="radioAccpayset" id="accpayset_Yes" tabindex="44" class="rdosyspref" value="Yes" checked="checked" />&nbsp;Yes</label></li>
                                    <li class="value dark" style="margin-left: 10px"><label for="accpayset_No"><input type="radio" name="radioAccpayset" id="accpayset_No" tabindex="45" class="rdosyspref" value="No" />&nbsp;No</label></li>
                                </ul>
                            </td>
                            <td/>           
                        </tr>
                        
                        <tr style="height: 10px"></tr>

                        <tr>
                            <td colspan="6"><div class="button_wrapper">
                                                <button id="btn_workspace_add_bottom" class="detailadd ui-button-corner-all">Add</button>
                                                <button id="btn_workspace_save_bottom" class="detailsave ui-button-corner-all">Save</button>
                                                <button id="btn_workspace_activate_bottom" class="detailactivate ui-button-corner-all">Activate</button>
                                                <button id="btn_workspace_cancel_bottom" class="detailcancel ui-button-corner-all">Cancel</button>
                                            </div></td>               
                        </tr>
                      
                    </table>
                </form>
            </div>              
        </div>
    </div>    
</div>